# -*- coding: utf_8 -*-
# @Create   : 2021/6/25 16:21
# @Author   : yh
# @Remark   : 日志实体
import time

from pydantic import constr, BaseModel


class LogModel(BaseModel):
    """
    日志模型
    """
    _FIELD_AUTOID_: int
    Id: str
    Name: str
    Operator: str
    State: constr(max_length=2, min_length=2)
    _CREATETIME_: int = int(time.time())
    other: str = ''
